class Aa(object):
    def __init__(self):
        self.name=10
    def doSome(self):
        print self.name

class Cc(object):
    def __init__(self):
        self.name='what'

cc=Cc()
print cc.name

aa=Aa()
bb= aa.doSome
bb(cc)

